翻訳と辞書
Words near each other
・ False River
・ False River (Louisiana)
・ False River (Quebec)
・ False River Academy
・ False River Regional Airport
・ False River, Louisiana
・ False Round Point
・ False sandalwood
・ False scad
・ False Scent
・ False scent
・ False scorpionfish
・ False serotine bat
・ False Servant
・ False Shame
False sharing
・ False singular
・ False Smiles
・ False spike
・ False spiraea
・ False spotted catfish
・ False stag beetle
・ False start
・ False Start (album)
・ False Start (band)
・ False start (disambiguation)
・ False statement
・ False statements of fact
・ False Step
・ False step


Dictionary Lists
翻訳と辞書 辞書検索 [ 開発暫定版 ]
スポンサード リンク

False sharing : ウィキペディア英語版
False sharing

In computer science, false sharing is a performance-degrading usage pattern that can arise in systems with distributed, coherent caches at the size of the smallest resource block managed by the caching mechanism. When a system participant attempts to periodically access data that will never be altered by another party, but that data shares a cache block with data that ''is'' altered, the caching protocol may force the first participant to reload the whole unit despite a lack of logical necessity. The caching system is unaware of activity within this block and forces the first participant to bear the caching system overhead required by true shared access of a resource.
By far the most common usage of this term is in modern multiprocessor CPU caches, where memory is cached in lines of some small power of two word size (e.g., 64 aligned, contiguous bytes). If two processors operate on independent data in the same memory address region storable in a single line, the cache coherency mechanisms in the system may force the whole line across the bus or interconnect with every data write, forcing memory stalls in addition to wasting system bandwidth. False sharing is an inherent artifact of automatically synchronized cache protocols and can also exist in environments such as distributed file system or databases, but current prevalence is limited to RAM caches.
==Example==

struct foo ;
static struct foo f;
/
* The two following functions are running concurrently:
*/
int sum_a(void)
void inc_b(void)

Here, sum_a may need to continually re-read x from main memory (instead of from cache) even though inc_b's concurrent modification of y should be irrelevant.

抄文引用元・出典: フリー百科事典『 ウィキペディア(Wikipedia)
ウィキペディアで「False sharing」の詳細全文を読む



スポンサード リンク
翻訳と辞書 : 翻訳のためのインターネットリソース

Copyright(C) kotoba.ne.jp 1997-2016. All Rights Reserved.